<template>
    <div>
        <div class="back_box">
            
            <div v-show="showView" class="back_btn">
                <img @click="$emit('back')" src = '../assets/back.png'>
            </div>
            <div class="back_text">
                {{title}}
            </div>
        </div>
    </div>
</template>
<script>

export default {
    props: {
        title:{
            type:String,
            default:''
        },
        showView:{
            type:Boolean,
            default:true
        }
    },
}
</script>
<style scoped>
.back_box { background: #fff; width:100%; height:13.33vw; line-height:13.33vw;}
.back_btn { position: absolute; left:5.3vw; top:2.3vw;}
.back_btn img {width:2.9vw; height:5.8vw;}
.back_text {font-size:4.8vw; text-align: center;}
</style>
